package com.example.template.common.tk.plus.mapper;

import com.example.template.common.tk.plus.provider.BatchUpdateSelectiveByIdProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

import java.util.List;

@RegisterMapper
public interface BatchUpdateSelectiveByIdMapper<T> {
    @UpdateProvider(type = BatchUpdateSelectiveByIdProvider.class, method = "dynamicSQL")
    int batchUpdateSelective(List<T> list);
}
